import request from '@/utils/request'

export const login = data => request.post('/sys/login', data)

export const getInfo = () => request.get('/sys/profile')

export const updatePassword = (data) => request({
  url: '/sys/user/updatePass',
  method: 'put',
  data
})
